//在 HBuilderX 中，点击“运行”编译出来的代码是开发环境，点击“发行”编译出来的代码是生产环境
let baseJavaURL = ''
let basePHPURL = ''
let JavaimgUrl = ''
let PHPimgUrl = ''
const JavaUrl = '/api/app/mini'
const JavaUrls = '/api/app'
const PhpUrl = '/api'
// 隐私政策
const privacyPolicy = "https://shop.superjuanjuan.com/yinsi.html"
// 用户协议
const registerPolicy = "https://shop.superjuanjuan.com/yonghu.html"

if (process.env.NODE_ENV === 'development') {
    console.log('开发环境');
    // 测试 
    baseJavaURL = 'https://zhushou.superjuanjuan.com'
    PHPimgUrl = 'https://shop.superjuanjuan.com/public/image/'
    basePHPURL = 'https://shop.superjuanjuan.com'
	JavaimgUrl = 'https://img.douxin.club/mini'

} else {
    // 正式
    console.log('生产环境');
    baseJavaURL = 'https://zhushou.superjuanjuan.com'
    PHPimgUrl = 'https://shop.superjuanjuan.com/public/image/'
    basePHPURL = 'https://shop.superjuanjuan.com'
	JavaimgUrl = 'https://img.douxin.club/mini'
}


export default {
    baseJavaURL,
    basePHPURL,
    JavaUrl,
    JavaUrls,
    PhpUrl,
	JavaimgUrl,
	PHPimgUrl,
    privacyPolicy,
    registerPolicy
}